<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>待办清单</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>待办清单</h1>
        <div class="input-section">
    <input type="text" id="todoInput" placeholder="输入新待办事项...">
    <button class="action-btn" onclick="addTodo()">添加</button>
</div>
<div class="search-section">
    <input type="text" id="searchInput" placeholder="搜索待办事项...">
</div>
        <div class="todo-section">
    <h2>未完成事项</h2>
    <ul id="pendingList"></ul>
</div>
<div class="todo-section">
    <h2>已完成事项</h2>
    <ul id="completedList"></ul>
</div>
    </div>
    <script src="app.js"></script>
</body>
</html>